import {combineReducers}                from 'redux';

import {STORE}                          from '../constants';
import {reduceSuccess, returnSuccess}   from '../utils/Reducer';

export default combineReducers({

    out: returnSuccess(STORE.out),
    edit: returnSuccess(STORE.edit),
    inList: reduceSuccess([], STORE.inList),
    outList: reduceSuccess([], STORE.outList),

    accum: reduceSuccess({}, STORE.accum),
    accumList: reduceSuccess([], STORE.accumList),

})
